#! /usr/bin/env python
# -*- coding: utf-8 -*-

# *************************************************************
#     Filename @  code.py
#       Author @  Huoty
#  Create date @  2016-02-17 16:32:34
#  Description @  
# *************************************************************

import web
import blog

urls = (
    "/blog", blog.app,
    "/(.*)", "Index"
    )

app = web.application(urls, locals())

class Index:
    def GET(self, path):
        return "hello" + path

# Script starts from here

if __name__ == "__main__":
    app.run()
